<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../文件/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <a>{{name}}</a>
        <button>我是按钮</button>
    </div>

    <script>
        var vm = new Vue({
            el:"#app",
            data:{
                name:"zhao"
            },
            methods: {
                show:function(){
                    console.log("show")

                }
            },
            created:() => {
                console.log("初始化")
            },
            mounted:() => {
                console.log("mounted生命周期到了")
            },
        })
    </script>

</body>
</html>